329ec332937494154ded75198f22e50c00cab83c,wicket/src/java/wicket/markup/html/form/AbstractChoice.java,AbstractChoice,onComponentTagBody,#MarkupStream#ComponentTag#,215

Before Change


		// Append default option
		buffer.append(getDefaultChoice(selected));

		final Iterator it = getChoices().iterator();
		int index = 0;
		while (it.hasNext())
		{

After Change


		// Append default option
		buffer.append(getDefaultChoice(selected));

		List choices = getChoices();
		for(int index=0;index<choices.size();index++)
		{
			// Get next choice
			final Object choice = choices.get(index);
			if (choice != null)
			{
				final String displayValue = renderer.getDisplayValue(choice);